package com.jinloes.webfit;

import com.jinloes.webfit.persistence.Person;

import javax.persistence.EntityNotFoundException;
import javax.security.sasl.AuthenticationException;

public interface PersonDao extends GenericDao<Person> {
	
	public Person getPersonByUsername(String username) throws EntityNotFoundException;
	public Person authenticatePerson(String username, String password) throws AuthenticationException;
}
